package com.ktg.mes.erpInventory.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ktg.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: Erp-存货档案
 * @Author: jeecg-boot
 * @Date:   2022-08-14
 * @Version: V1.0
 */
@Data
@TableName("Inventory")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="mes_inventory ERP 对象", description="Erp-存货档案")
public class T6ErpInventory implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
    @ApiModelProperty(value = "id")
    private String id;

	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;

	/**存货编码*/
	@Excel(name = "存货编码", width = 15)
    @ApiModelProperty(value = "存货编码")
    private String invCode;

	/**存货代码*/
	@Excel(name = "存货代码", width = 15)
    @ApiModelProperty(value = "存货代码")
    private String invAddCode;

	/**存货名称*/
	@Excel(name = "存货名称", width = 15)
    @ApiModelProperty(value = "存货名称")
    private String invName;

	/**规格型号*/
	@Excel(name = "规格型号", width = 15)
    @ApiModelProperty(value = "规格型号")
    private String invStd;

	/**粘度*/
	@Excel(name = "粘度", width = 15)
    @ApiModelProperty(value = "粘度")
    private String viscosity;

	/**标签*/
	@Excel(name = "标签", width = 15)
    @ApiModelProperty(value = "标签")
    private String tag;

	/**是否销售*/
	@Excel(name = "是否销售", width = 15)
    @ApiModelProperty(value = "是否销售")
    private Integer saled;

	/**是否外购*/
	@Excel(name = "是否外购", width = 15)
    @ApiModelProperty(value = "是否外购")
    private Integer purchased;

	/**是否自制*/
	@Excel(name = "是否自制", width = 15)
    @ApiModelProperty(value = "是否自制")
    private Integer selfed;

	/**是否委外*/
	@Excel(name = "是否委外", width = 15)
    @ApiModelProperty(value = "是否委外")
    private Integer proxyForeigned;

	/**是否生产耗用*/
	@Excel(name = "是否生产耗用", width = 15)
    @ApiModelProperty(value = "是否生产耗用")
    private Integer comsumed;

	/**是否在制*/
	@Excel(name = "是否在制", width = 15)
    @ApiModelProperty(value = "是否在制")
    private Integer producing;

	/**是否成套件*/
	@Excel(name = "是否成套件", width = 15)
    @ApiModelProperty(value = "是否成套件")
    private Integer accessaryed;

	/**单位重量*/
	@Excel(name = "单位重量", width = 15)
    @ApiModelProperty(value = "单位重量")
    private String invWeight;

	/**参考成本*/
	@Excel(name = "参考成本", width = 15)
    @ApiModelProperty(value = "参考成本")
    private BigDecimal invSPrice;

	/**参考售价*/
	@Excel(name = "参考售价", width = 15)
    @ApiModelProperty(value = "参考售价")
    private BigDecimal invSCost;

	/**最低售价*/
	@Excel(name = "最低售价", width = 15)
    @ApiModelProperty(value = "最低售价")
    private BigDecimal invLsCost;

	/**最新成本*/
	@Excel(name = "最新成本", width = 15)
    @ApiModelProperty(value = "最新成本")
    private BigDecimal invNCost;

	/**安全库存*/
	@Excel(name = "安全库存", width = 15)
    @ApiModelProperty(value = "安全库存")
    private String safeNum;

	/**最高库存*/
	@Excel(name = "最高库存", width = 15)
    @ApiModelProperty(value = "最高库存")
    private String topSum;

	/**最低库存*/
	@Excel(name = "最低库存", width = 15)
    @ApiModelProperty(value = "最低库存")
    private String lowSum;

	/**是否批次管理*/
	@Excel(name = "是否批次管理", width = 15)
    @ApiModelProperty(value = "是否批次管理")
    private Integer invBatched;

	/**包装规格*/
	@Excel(name = "包装规格", width = 15)
    @ApiModelProperty(value = "包装规格")
    private String packingType;

	/**税率*/
	@Excel(name = "税率", width = 15)
    @ApiModelProperty(value = "税率")
    private String taxRate;

	/**名称*/
	@Excel(name = "名称", width = 15)
    @ApiModelProperty(value = "名称")
    private String currencyName;

	/**箱包装规格*/
	@Excel(name = "箱包装规格", width = 15)
    @ApiModelProperty(value = "箱包装规格")
    private String invBoxStd;

	/**计量单位组编码*/
	@Excel(name = "计量单位组编码", width = 15)
    @ApiModelProperty(value = "计量单位组编码")
    private String groupCode;

	/**计量单位组名称*/
	@Excel(name = "计量单位组名称", width = 15)
    @ApiModelProperty(value = "计量单位组名称")
    private String groupTitle;


    /**计量单位组类别*/
    @Excel(name = "计量单位组类别", width = 15)
    @ApiModelProperty(value = "计量单位组类别")
    private Integer groupType;

	/**主计量单位编码*/
	@Excel(name = "主计量单位编码", width = 15)
    @ApiModelProperty(value = "主计量单位编码")
    private String comUnitCode;

	/**主计量单位名称*/
	@Excel(name = "主计量单位名称", width = 15)
    @ApiModelProperty(value = "主计量单位名称")
    private String comUnitTitle;

	/**存货分类编码，对应ERP系统分类编码*/
	@Excel(name = "存货分类编码，对应ERP系统分类编码", width = 15)
    @ApiModelProperty(value = "存货分类编码，对应ERP系统分类编码")
    private String invCatCode;

	/**存货分类ID*/
	@Excel(name = "存货分类ID", width = 15 )
    @ApiModelProperty(value = "存货分类ID")
    private String invCatId;

    /**安全资料*/
    @Excel(name = "安全资料", width = 15)
    @ApiModelProperty(value = "安全资料")
    private String safetyFile;
    /**第三方报告*/
    @Excel(name = "第三方报告", width = 15)
    @ApiModelProperty(value = "第三方报告")
    private String thirdReport;
    /**存货图片*/
    @Excel(name = "存货图片", width = 15)
    @ApiModelProperty(value = "存货图片")
    private String invImages;

    /**辅计量单位编码*/
    @Excel(name = "辅计量单位编码", width = 15)
    @ApiModelProperty(value = "辅计量单位编码")
    private String assComUnitCode;

    /**成本计量单位编码*/
    @Excel(name = "成本计量单位编码", width = 15)
    @ApiModelProperty(value = "成本计量单位编码")
    private String costComUnitCode;

    /**销售计量单位编码*/
    @Excel(name = "销售计量单位编码", width = 15)
    @ApiModelProperty(value = "销售计量单位编码")
    private String saleComUnitCode;

    /**采购计量单位编码*/
    @Excel(name = "采购计量单位编码", width = 15)
    @ApiModelProperty(value = "采购计量单位编码")
    private String purchaseComUnitCode;

    /**库存计量单位编码*/
    @Excel(name = "库存计量单位编码", width = 15)
    @ApiModelProperty(value = "库存计量单位编码")
    private String stockComUnitCode;

    /**ERP数据变更标识*/
    @Excel(name = "ERP数据变更标识", width = 15)
    @ApiModelProperty(value = "ERP数据变更标识")
    private String exPubufts;
}
